package com.example.javaproject.dto;

import com.alibaba.excel.annotation.ExcelProperty;
//import lombok.Data;

//@Data
public class UserExcelDTO {
    @ExcelProperty("用户名")
    private String username;

    @ExcelProperty("密码")
    private String password;

    @ExcelProperty("邮箱")
    private String mail;

    @ExcelProperty("电话")
    private String phone;

    @ExcelProperty("角色")
    private String role; // "管理员"/"教师"/"学生"

    @ExcelProperty("姓名")
    private String name;

    @ExcelProperty("学院")
    private String college; // 仅学生需要

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCollege() {
        return college;
    }

    public void setCollege(String college) {
        this.college = college;
    }
} 